using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace sCicero
{
    public partial class document_new : Form
    {
        private sCicero.scicero m_osCicero;
        public document_new(ref sCicero.scicero osCicero)
        {
            InitializeComponent();
            m_osCicero = osCicero;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            m_osCicero.Event.Raise_NewDocumentRequest(this, this.textBox1.Text.Trim());
            this.Close();
        }

        private void groupBox1_Enter(object sender, EventArgs e)
        {
            this.textBox1.Focus();
        }
    }
}